package com.aegean.CommercialHotelBookSystem.user.dao;

import java.util.ArrayList;
import java.util.List;

import org.hibernate.Session;
import com.aegean.CommercialHotelBookSystem.model.Book;
import com.aegean.CommercialHotelBookSystem.model.BookDetail;
import com.aegean.CommercialHotelBookSystem.model.Customer;

public interface IUserDao {
	public Session getSession();
	public void closeSession();
	public Customer saveObject(Object o);
	public Customer searchCustomer(String User_Name,String User_Pwd);
	public Customer updateObject(Customer one);
	public Customer updatePwd(Customer one);
	public List<Book> searchBooks(Customer customer,String hotel_Name,String book_Date);
	public List<BookDetail> searchBookDetails(int book_Id);
	public boolean serachUser(String User_Name);
}
